/*
////////////////////////////////////////////////////////////////////////////////
//
// *Copyright (c) 2006 Uday M. Shankar
//
// The usual Yada-Yada!
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this code and associated documentation
// files (the "Code"), to deal in the Code without
// restriction, including without limitation the rights to use,
// copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the
// Code is furnished to do so, subject to the following
// conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Code.
//
// THE CODE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
// OTHER DEALINGS IN THE SOFTWARE.
//
// Further it is worth to mention that no animals have been 
// harmed during the development. No trees have been cut 
// down. Womens rights have been treated with full respect.
// Mankind's safety has been ensured at every step.
//
// Peace!
//
// @file: widgets
// @author: Uday M. Shankar
// @date: 10-12-2007
// @description: CSS styles used by widgets used in CForm. Users can create
// and use their own styles instead of this. This is just an example.
//
////////////////////////////////////////////////////////////////////////////////
*/

Application {
	themeColor: #ffcc00;
}

Alert{
	color : #000000;
	title-style-name : "alertTitle";
	header-height:19;
	border-thickness: 1;
	drop-shadow-enabled: true;
	drop-shadow-color :#ffffff;
	shadow-distance: 1;
	background-color: #ffffff;
	corner-radius :6;
	border-style :solid;
	header-colors : #F7FFCD, #99cc33;
	footer-colors : #F7FFCD, #ffffff;
	border-color : #7F9B5A;
}

.alertTitle{
	font-family :Verdana;
	font-size :10;
	font-weight :bold;
	text-align :left;
	color :#336600;
}

CheckBox {
	textIndent: 1;
	letterSpacing: 0;
	fillColors: #ffffff, #66cc00, #ffffff, #99cc33;
	borderColor: #99cc66;
	color: #000000;
	textSelectedColor: #000000;
	textRollOverColor: #006600;
	themeColor: #ffcc00;
	fontSize: 10;
	fontWeight: normal;
	focus-thickness: 1;
}

ComboBox {
	cornerRadius: 2;
	color: #000000;
	borderColor: #99cc66;
	fillColors: #ffffff, #66cc00, #ffffff, #99cc33;
	selectionColor: #ffffcc;
	textSelectedColor: #006600;
	textRollOverColor: #006600;
	themeColor: #ffcc00;
	openDuration: 110;
	closeDuration: 107;
	textAlign: left;
	fontSize: 10;
	fontWeight: normal;
	letterSpacing: 0;
	dropDownStyleName: "myComboBoxDropDowns";
	focus-thickness: 1;
}

.myComboBoxDropDowns {
	cornerRadius: 0;
	borderThickness: 1;
	borderColor: #99cc66;
	color: #000000;
	fontSize: 10;
	fontWeight: normal;
	fontStyle: normal;
	textDecoration: none;
	focus-thickness: 1;
}

TextInput {
	borderStyle: inset;
	borderColor: #99cc66;
	backgroundAlpha: 1;
	color: #000000;
	paddingLeft: 1;
	paddingRight: 2;
	fontSize: 10;
	fontWeight: normal;
	dropShadowEnabled: false;
	shadowDirection: right;
	shadowDistance: 0;
	focus-thickness: 1;
}

TextArea {
	fontSize: 10;
	color: #000000;
	fontWeight: normal;
	paddingLeft: 2;
	paddingRight: 2;
	textIndent: 0;
	borderStyle: inset;
	borderColor: #99cc66;
	focus-thickness: 1;
}

RadioButton {
	textIndent: 1;
	fillColors: #ffffff, #66cc00, #ffffff, #99cc33;
	borderColor: #99cc66;
	color: #000000;
	textSelectedColor: #000000;
	textRollOverColor: #006600;
	themeColor: #ffcc00;
	fontSize: 10;
	fontWeight: normal;
	focus-thickness: 1;
}

NumericStepper {
	borderColor: #99cc66;
	cornerRadius: 2;
	fillColors: #ffffff, #66cc00, #ffffff, #99cc33;
	color: #000000;
	themeColor: #ffcc00;
	fontSize: 10;
	focus-thickness: 1;
}

ToolTip {
	backgroundAlpha: 1;
	backgroundColor: #ffffff;
	color: #000000;
	error-color: green;
}

DataGrid {
	headerColors: #ffffff, #99cc33;
	horizontalGridLines: true;
	horizontalGridLineColor: #ffffcc;
	verticalGridLineColor: #99cc66;
	rollOverColor: #ffffcc;
	textRollOverColor: #003300;
	borderThickness: 1;
	borderColor: #99cc66;
	selectionColor: #ffcc00;
	color: #000000;
	textSelectedColor: #003300;
	textIndent: 0;
	fontSize: 10;
	headerStyleName: "mydataGridHeaderStyle";
}

.mydataGridHeaderStyle {
	color: #000000;
	fontSize: 10;
}

HScrollBar {
	cornerRadius: 1;
	fillColors: #ffffff, #66cc00, #ffffff, #99cc33;
	trackColors: #99cc66, #ffffcc;
	themeColor: #ffcc00;
	borderColor: #99cc66;
}

HRule {
	strokeColor: #003300;
	shadowColor: #ffffff;
	strokeWidth: 1;
}

VRule {
	strokeColor: #003300;
	shadowColor: #ffffff;
	strokeWidth: 1;
}

List {
	rollOverColor: #ffffcc;
	textRollOverColor: #003300;
	borderStyle: inset;
	selectionColor: #ffcc00;
	color: #000000;
	textSelectedColor: #003300;
	fontSize: 10;
	fontWeight: normal;
	textAlign: left;
	focus-thickness: 1;
}

DateChooser {
	cornerRadius: 1;
	borderThickness: 1;
	headerColors: #99cc33, #ffffcc;
	fillColors: #ffffff, #66cc00, #ffffff, #99cc33;
	todayColor: #cccc00;
	rollOverColor: #ffffcc;
	selectionColor: #ffcc00;
	color: #000000;
	borderColor: #99cc66;
	themeColor: #ffcc00;
	headerStyleName: "mydateChooserHeaderStyle";   weekDayStyleName: "mydateChooserWeekDayStyle";
	focus-thickness: 1;
}

.mydateChooserHeaderStyle {
	color: #000000;
	fontSize: 10;

}

.mydateChooserWeekDayStyle {
	color: #006600;
	fontSize: 10;
}